package com.fliad.ai.entity;

import lombok.Data;
import org.dromara.autotable.annotation.AutoColumn;
import org.dromara.autotable.annotation.AutoTable;
import org.dromara.autotable.annotation.PrimaryKey;

/**
 * 文档分片
 *
 * @author wyl
 * @date 2025年05月22日 下午8:38
 */
@Data
@AutoTable(comment = "文档分片")
public class AiDocumentChunk {

    @PrimaryKey()
    private String id;

    @AutoColumn(comment = "知识库ID")
    private Long knowledgeId;

    @AutoColumn(comment = "文档ID")
    private Long documentId;

}
